{include file="header.html"}

<div class="body">
	<div class="nav">
		<a href="?app=home&act=index">首页</a> > <a href="?app=setting&act=index">系统设置</a> > 日志管理
	</div>
	<div class="addbtn">
			<a href="manager" class="addbtn">所有管理员</a> &nbsp;
			<a href="manager_add" class="addbtn">增加管理员</a> &nbsp;
			<a href="log" class="addbtn">日志管理</a> &nbsp;
	</div>
	<form action="index" method="get">
	<div class="search">
	<input title="" type="hidden" name="app" id="app" value="setting" />
	<input title="" type="hidden" name="act" id="act" value="log" />
	<span>ID</span><input title="" type="text" name="id" id="id" value="{$id}" />
	<span>会员</span><input title="" type="text" name="member_name" id="member_name" value="{$member_name}" />
	<span>app</span><input title="" type="text" name="log_app" id="log_app" value="{$log_app}" />
	<span>act</span><input title="" type="text" name="log_act" id="log_act" value="{$log_act}" />
	<span>IP</span><input title="" type="text" name="ip" id="ip" value="{$ip}" />
	<input title="" type="submit" class="btn" value="搜 索" class="btn" />
	<div class="clear"></div>
	</div>
	</form>

	
	<div class="list">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr class="h">
				<th>ID</th>
				<th>会员</th>
				<th>文件</th>
				<th>参数</th>
				<th>app</th>
				<th>act</th>
				<th>用户浏览器</th>
				<th>IP</th>
				<th>时间</th>
			</tr>
			{foreach name="list"  item="row"}
			<tr bgcolor="white">
				<td>{$row.id}</td>
				<td style="text-align:left;">
					{if $row.member_id}
					<a href="?app=member&act=edit&member_id={$row.member_id}">{$row.member_name}</a>
					{else}
					-
					{/if}
				</td>
				<td align="center">{$row.script_name}</td>
				<td align="left" style="text-align:left">{$row.query_string}</td>
				<td align="center">{$row.app}</td>
				<td align="center">{$row.act}</td>
				<td align="left" style="text-align:left">{$row.user_agent}</td>
				<td align="center">{$row.ip}</td>
				<td align="center">{$row.add_time|date="Y-m-d h:i:s",###}</td>
			</tr>

			{/foreach}
		</table>

	<div class="clear"></div>
	<div class="mypage" style="text-align:right">
	</div>
</div>
</div>

{include file="footer"}